package com.mdz.myapplication.Entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 药监分类信息表
 * </p>
 *
 * @author 孟德志
 * @since 2021-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yjfl")
public class Yjfl extends Model<Yjfl> {

    private static final long serialVersionUID=1L;

    /**
     * 药监分类id号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 药监分类
     */
    @TableField("yjfl")
    private String yjfl;

    /**
     * 对应表名
     */
    @TableField("biaom")
    private String biaom;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
